/*
 * time.cpp
 *
 *  Created on: 2008-8-28
 *      Author: root
 */

#include <time.h>
#include <iostream>
#include <sys/types.h>
#include <unistd.h>

using namespace std;

int main()
{
	time_t a;
	time(&a);

	cout << sizeof(long int) << endl;

	cout << (long int)a << endl;

	cout << ctime(&a) << endl;

	pid_t b;
	b = getpid();

	cout << b << endl;

	return 0;
}
